package io.renren.modules.security.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UpdateKeywordDto {

    private Long id;

    @NotNull(message = "关键词类型不允许为空！")
    private Long keywordTypeId;

    @NotBlank(message = "关键词不允许为空！")
    private String wordName;

    @NotBlank(message = "关键词英文不允许为空！")
    private String wordEn;
}
